export const rulesFilesText = {
  sendType: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  title: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  subtitle: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  releaseTimeType: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ]
};

export const rulesFiles = {
  sendType: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  title: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  files: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  releaseTimeType: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ]
};

export const rulesUrl = {
  sendType: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  title: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  url: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  releaseTimeType: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ]
};
